package com.mzy.basics.AtomicClass;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/5/28 14:14
 * @Version 1.0
 */
public class Demo {
    public static AtomicInteger count = new AtomicInteger(0);

    /**
     * 待完善
     * @param args
     */
    public static void main(String[] args) {
        count.getAndDecrement(); // i--
        count.getAndIncrement(); // i++
    }
}
